#pragma once
#include "../entity.h"
class CBullet : public CEntity
{
public:
	CBullet(void);
	virtual ~CBullet(void);

	virtual void Render( void );

	virtual void Update(float fElapsedTime);
	virtual bool CheckCollision( IEntity* pOther);

	CEntity* CGetOwner( void ) const;
	void SetOwner( CEntity* p );

	float GetRotation( void );
	void SetRotation( float r );

	int		GetDamage( void );
	void	SetDamage( int d );


private:
	float		m_fcurrRot;
	CEntity*	Owner;
	float		m_fLifeTime;

	int			m_nDamage;
};

